import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { Swipe, SwipeItem } from "vant";
import { Search } from "vant";
import { Icon } from "vant";
import { Toast } from "vant";
import { ActionBar, ActionBarIcon, ActionBarButton } from "vant";
import { SwipeCell } from "vant";
import { ActionSheet } from "vant";
import { Empty } from "vant";
import { AddressList } from "vant";
import { AddressEdit } from "vant";
import { Area } from "vant";
import { Popup } from "vant";
import { Dialog } from "vant";
import { Stepper } from "vant";

const app = createApp();
app.use(Swipe);
app.use(SwipeItem);
app.use(Search);
app.use(Icon);
app.use(Toast);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(SwipeCell);
app.use(ActionSheet);
app.use(Empty);
app.use(AddressList);
app.use(AddressEdit);
app.use(Area);
app.use(Popup);
app.use(Dialog);
app.use(Stepper);

createApp(App).use(store).use(router).mount("#app");
